hdf5/wrap.d(68,34): Error: cast from `const(char[])` to `char*` not allowed in safe code hdf5/wrap.d(73,33): Error: `@safe` function `hdf5.wrap.ZtoString` cannot call `@system` function `std.string.fromStringz!char.fromStringz` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/string.d(222,15): `std.string.fromStringz!char.fromStringz` is declared here hdf5/wrap.d(148,40): Error: cast from `char[2048]` to `char*` not allowed in safe code hdf5/wrap.d(158,72): Error: cast from `char[2048]` to `char*` not allowed in safe code hdf5/wrap.d(272,47): Error: cannot take address of local `allocation` in `@safe` function `get_space_status` hdf5/wrap.d(323,43): Error: `size.ptr` cannot be used in `@safe` code, use `&size[0]` instead hdf5/wrap.d(585,23): Error: `buf.ptr` cannot be used in `@safe` code, use `&buf[0]` instead hdf5/wrap.d(743,74): Error: cast from `char[2048]` to `char*` not allowed in safe code hdf5/wrap.d(753,51): Error: cast from `int` to `ulong*` not allowed in safe code hdf5/wrap.d(753,70): Error: cast from `int` to `void*` not allowed in safe code hdf5/wrap.d(763,81): Error: cast from `int` to `ulong*` not allowed in safe code hdf5/wrap.d(763,100): Error: cast from `int` to `void*` not allowed in safe code hdf5/wrap.d(810,67): Error: cannot take address of local `filename` in `@safe` function `unpack_elink_val` hdf5/wrap.d(810,77): Error: cannot take address of local `obj_path` in `@safe` function `unpack_elink_val` hdf5/wrap.d(903,31): Error: cast from `char[2048]` to `char*` not allowed in safe code hdf5/wrap.d(913,55): Error: cast from `char[2048]` to `char*` not allowed in safe code hdf5/wrap.d(975,15): Error: cast from `immutable(char)*` to `void*` not allowed in safe code hdf5/wrap.d(989,49): Error: cannot take address of local `size` in `@safe` function `get_size` hdf5/wrap.d(997,35): Error: cannot take address of local `nprop` in `@safe` function `get_nprops` hdf5/wrap.d(1107,50): Error: cannot take address of local `track_times` in `@safe` function `get_obj_track_times` /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.